﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BRMC.IntelligentCommunity.IntelligentCommunity.Parkings
{
  public  class Device : FullAuditedEntity<long>, IMustHaveTenant
    {
        /// <summary>
        /// 车场Id
        /// 
        /// </summary>
        public long ParkingId { set; get; }
        /// <summary>
        /// 车场名称
        /// </summary>
        public string ParkingName { set; get; }
        /// <summary>
        /// 车场编号
        /// </summary>
        public string ParkingCode { set; get; }
        /// <summary>
        /// 岗亭Id
        /// </summary>
        public long GuardId { set; get; }
        /// <summary>
        /// 岗亭编号
        /// </summary>
        public string GuardNo { set; get; }
        /// <summary>
        /// 岗亭名称
        /// </summary>
        public string GuradName { set; get; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { set; get; }
        /// <summary>
        /// 设备ID或MAC
        /// </summary>
        public string CamId { set; get; }
        /// <summary>
        /// 设备IP
        /// </summary>
        public string Ipaddr { set; get; }
        /// <summary>
        /// 设备方向 0出口,1入口
        /// </summary>
        public int DeviceSide { set; get; }
       /// <summary>
       /// 备注
       /// </summary>
        public string Remark { set; get; }
        /// <summary>
        /// 小区Id
        /// </summary>
        public int TenantId { get; set; }
        /// <summary>
        /// 小区Id
        /// </summary>
        public long? Neighbourhood_id { get; set; }
        /// <summary>
        /// 小区名称
        /// </summary>
        public string Neighbourhood_name { get; set; }
    }
}
